1 - 1 (Time : 1 hour and 30 minutes, each group has a maximum of 4 students).
CPX(Arduino board), Crickit and USB cable
Acrylic chassis kit
Ultrasonic sensor
Jumper wires
Rechargeable batteries
Foam board and object to place for obstacles
Students should already know how to connect and control DC motors through the Crickit and CPX. They should understand basic rover movement using code and how sensors provide input signals.
Setting up the ultrasonic sensor
Connecting the ultrasonic sensor
Click here to view the instructions for connecting the Ultra sonic sensor to the crickit board and learn more on the working of the ultrasonic sensor
Reading the values of the ultrasonic sensor
Print the raw distance values using the instructions and code in this document
Build the obstacle detecting rover
Fix the ultrasonic sensor on the rover
Use this video and fix the ultra sonic sensor to detect obstacles in front of the rover and a servo with an arm to push them away
Why do you think we use an ultrasonic sensor for measuring distance even though an IR sensor can also detect objects and in what situations might one work better than the other?